import request from '@/utils/request'

export function getList(userCode, token) {
  const params = { 'userCode': userCode, 'token': token }
  return request({
    url: '/testMenuManager/getMenu',
    method: 'get',
    params
  })
}

export function getTag(userCode, token) {
  const params = { 'userCode': userCode, 'token': token }
  return request({
    url: '/testMenuManager/getTab',
    method: 'get',
    params
  })
}

